package com.ruoyi.framework.xa;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Component;

/**
 * @Author alison
 * @Date 2024/12/13 21:34
 * @Version 1.0
 * @Description
 */
@Component
public class TransferRunner implements ApplicationRunner {
    @Autowired
    private TransferService transferService;

    @Override
    public void run(ApplicationArguments args) throws Exception {
        transferService.transfer(300);
    }
}
